# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from models import SysAccount
from AutoOperation.util import request_util, json_util


# Create your views here.
def get_account(request):
    account_list = SysAccount.objects.filter()
    return request_util.return_page_info(json_util.query_set_to_list(account_list), 15, account_list.__len__())
